﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Retirement/retirement.master" AutoEventWireup="true" CodeFile="myDetails.aspx.cs" Inherits="Retirement_changeDetails" %>

<asp:Content ID="Content" ContentPlaceHolderID="retirement_ContentPlaceHolder" runat="Server">
   
    <h2 id="heading">
        <a href="../home.aspx">World Trade Bank</a> > <a href="home.aspx">Retirement</a> 
        &gt; My Details</h2>

        <style type="text/css">
              
        .Grid th  
        {
            background-color: #B40404;
            color: #FFFFFF;
            height:30px;
        }
      
    </style>
    
<%
    
    if (this.policies == null || this.policies.Count == 0)
    {
       %>
       <asp:Label ID="lb_noPolicy" runat="server" Text="You don't have our retirement plan yet. Kindly make appointment with our representatives to apply for the plan with the link below:"></asp:Label><br /><br />
       <asp:HyperLink ID="HyperLink_appointment" runat="server" NavigateUrl="~/retirement/onlineAppointment.aspx">Make An Appointment</asp:HyperLink>
       <% 
    }
    else
    {
      
    %>
    
    
        <p style="font-family: 'Oxygen', Arial; font-weight: bold; font-size: 40px">
        My Details&nbsp;&nbsp;&nbsp;&nbsp;<asp:ImageButton ID="btn_changeDetails" 
                runat="server" ImageUrl="~/Retirement/Images/edit.png" Width="30" 
                ToolTip="Change Details" onclick="btn_changeDetails_Click" /></p>

        <p style="font-family: 'Oxygen', Arial; font-size: 18px; color: black">
        Click the Edit Button above to change policy details (including increase/decrease premium, add/delete riders etc).
        </p><br />

        <fieldset>
        <legend style="font-size: 28px; font-weight: bold">Personal Details</legend>
        <br />
        <table class="tbl_personalDetails" width="100%"> 
        <colgroup>
            <col style="width: 20%;">
            <col style="width: 30%;">
            <col style="width: 20%;">
            <col style="width: 30%;">
        </colgroup>
        <tr>
        <td>First Name</td>     
        <td>: <asp:Label ID="lb_firstName" runat="server" Text=""></asp:Label></td>
        <td>Last Name</td>
        <td>: <asp:Label ID="lb_lastName" runat="server" Text=""></asp:Label></td>
        </tr>

        <tr>
        <td>NRIC / Passport / FIN No.</td>     
        <td>: <asp:Label ID="lb_nric" runat="server" Text=""></asp:Label></td>
        <td>Nationality</td>
        <td>: <asp:Label ID="lb_nationality" runat="server" Text=""></asp:Label></td>
        </tr>

        <tr>
        <td>Date of Birth</td>     
        <td>: <asp:Label ID="lb_dob" runat="server" Text=""></asp:Label></td>
        <td>Gender</td>
        <td>:  
        <asp:RadioButton ID="rb_male" runat="server" Text="Male" GroupName="gender" Enabled="False" 
                />&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RadioButton ID="rb_female" runat="server" Text="Female" GroupName="gender" Enabled="False" 
                />
            </td>
        </tr>

        <tr>
        <td>Marital Status</td>     
        <td>: <asp:Label ID="lb_maritalStatus" runat="server" Text=""></asp:Label></td>
        <td>Smoker</td>
        <td>: 
        <asp:RadioButton ID="rb_smoker" runat="server" Text="Yes" GroupName="smokeStatus" 
                Checked="True" Enabled="False"/>&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RadioButton ID="rb_nonSmoker" runat="server" Text="No" GroupName="smokeStatus" 
                Checked="False" Enabled="False" />
        </td>
        </tr>

        <tr>
        <td colspan="4" style="font-weight: bold"><br /><br />Contact Details</td>
        </tr>

        <tr>
        <td>Mailing Address</td>     
        <td>: <asp:Label ID="lb_mailingAddress" runat="server" Text=""></asp:Label></td>
        <td>Postal Code</td>
        <td>: <asp:Label ID="lb_postalCode" runat="server" Text=""></asp:Label></td>
        </tr>

        <tr>
        <td>Mobile No.</td>     
        <td>: <asp:Label ID="lb_mobileNo" runat="server" Text=""></asp:Label></td>
        <td>Home / Office No.</td>
        <td>: <asp:Label ID="lb_telNo" runat="server" Text=""></asp:Label></td>
        </tr>

        <tr>
        <td>Email Address</td>     
        <td>: <asp:Label ID="lb_email" runat="server" Text=""></asp:Label></td>
        <td></td>
        <td></td>
        </tr>
        </table>
        <br />
        <br /><br />
        Last Modified By: 
        <asp:Label ID="lb_lastModifiedBy_personalDetails" runat="server" Text="Govin Ho"></asp:Label>
        </fieldset>
        <br /><br />

        <fieldset>
        <legend style="font-size: 28px; font-weight: bold">Occupational Details</legend>
        <table class="tbl_occupationalDetails" width="100%">
        <colgroup>
            <col style="width: 20%;">
            <col style="width: 30%;">
            <col style="width: 20%;">
            <col style="width: 30%;">
        </colgroup>
        <tr>
        <td>Occupation</td>     
        <td>: <asp:Label ID="lb_occupation" runat="server" Text=""></asp:Label></td>
        <td>Specific Job Duties</td>
        <td>: <asp:Label ID="lb_jobDuties" runat="server" Text=""></asp:Label></td>
        </tr>

        <tr>
        <td>Employer</td>     
        <td>: <asp:Label ID="lb_employer" runat="server" Text=""></asp:Label></td>
        <td>No. of Years</td>
        <td>: <asp:Label ID="lb_noOfYears" runat="server" Text=""></asp:Label></td>
        </tr>

        <tr>
        <td>Industry</td>     
        <td>: <asp:Label ID="lb_industry" runat="server" Text=""></asp:Label></td>
        <td></td>
        <td></td>
        </tr>

        <tr>
        <td colspan="4" style="font-weight: bold"><br /><br />Annual Earned Income</td>     
        <td></td>
        <td></td>
        <td></td>
        </tr>

        <tr>
        <td>Current Year S$</td>     
        <td>: <asp:Label ID="lb_annualEarnedIncome" runat="server" Text=""></asp:Label></td>
        <td>1 year ago S$</td>
        <td>: <asp:Label ID="lb_annualEarnedIncomePrevious" runat="server" Text=""></asp:Label></td>
        </tr>

        <tr>
        <td>Any income or remuneration from any other sources?</td>     
        <td>:   
        <asp:RadioButton ID="rb_yesOtherIncome" runat="server" Text="Yes" 
                GroupName="otherIncome" Checked="False" Enabled="False" />&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RadioButton ID="rb_noOtherIncome" runat="server" Text="No" 
                GroupName="otherIncome" Checked="True" Enabled="False" />
            </td>
        <td>Source</td>
        <td>: <asp:Label ID="lb_otherIncomeSource" runat="server" Text=""></asp:Label></td>
        </tr>

        <tr>
        <td>Annual earned income from source S$</td>     
        <td>: <asp:Label ID="lb_otherAnnualEarnedIncome" runat="server" Text=""></asp:Label></td>
        <td></td>
        <td></td>
        </tr>

         <tr>
        <td style="font-weight: bold"><br /><br />Source of Wealth</td>     
        <td>
            <br />
            <br />
            : <asp:Label ID="lb_sourceOfWealth" runat="server" Text=""></asp:Label></td>
        <td></td>
        <td></td>
        </tr> 

        <tr>
        <td colspan="2" style="font-weight: bold"><br /><br />Bankruptcy</td>     
        <td></td>
        <td></td>
        <td></td>
        </tr>

        <tr>
        <td>Are you an undischarged bankrupt?</td>     
        <td>: 
        <asp:RadioButton ID="rb_yesBankruptcy" runat="server" Text="Yes" 
                GroupName="bankruptcy" Checked="False" Enabled="False"/>&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RadioButton ID="rb_noBankruptcy" runat="server" Text="No" 
                GroupName="bankruptcy" Checked="True" Enabled="False" />
        </td>
        <td></td>
        <td></td>
        </tr>
        </table> 
        <br />
        <br /><br />
        Last Modified By: 
        <asp:Label ID="lb_lastModifiedBy_OccupationalDetails" runat="server" Text="Govin Ho"></asp:Label>
        </fieldset>
        <br /><br />

        <fieldset>
        <legend style="font-size: 28px; font-weight: bold">Plan Details</legend>
        <br />
        <table class="tbl_planDetails" width="100%"> 
        <colgroup>
            <col style="width: 20%;">
            <col style="width: 30%;">
            <col style="width: 20%;">
            <col style="width: 30%;">
        </colgroup>
        <tr>
        <td>Plan Name</td>     
        <td>: <asp:Label ID="lb_planName" runat="server" Text=""></asp:Label></td>
        <td>Term / Premium Duration</td>
        <td>: <asp:Label ID="lb_basicPlanDuration" runat="server" Text=""></asp:Label></td>
        </tr>

        <tr>
        <td>Sum Insured S$</td>     
        <td>: <asp:Label ID="lb_basicSumInsured" runat="server" Text=""></asp:Label></td>
        <td></td>
        <td></td>
        </tr>

        <tr>
        <td colspan="4" style="font-weight: bold"><br /><br />Rider(s) / Supplementary Benefit(s)</td>
        <td></td>
        <td></td>
        <td></td>
        </tr>

        <tr>
        <td>Critical Care Plus Rider</td>     
        <td>:  
        <asp:RadioButton ID="rb_plusRiderYes" runat="server" Text="Yes" GroupName="plusRider" 
                Checked="False" Enabled="False"/>&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RadioButton ID="rb_plusRiderNo" runat="server" Text="No" 
                GroupName="plusRider" Checked="True" Enabled="False" />
            </td>
        <td>Term / Premium Duration</td>
        <td>: <asp:Label ID="lb_plusRiderDuration" runat="server" Text=""></asp:Label></td>
        </tr>

        <tr>
        <td>Sum Insured S$</td>     
        <td>: <asp:Label ID="lb_plusRiderSumInsured" runat="server" Text=""></asp:Label></td>
        <td></td>
        <td></td>
        </tr>

        <tr>
        <td colspan="4" style="font-weight: bold"><br /></td>
        </tr>

        <tr>
        <td>Critical Care Waiver Rider</td>     
        <td>:  
        <asp:RadioButton ID="rb_waiverRiderYes" runat="server" Text="Yes" GroupName="waiverRider" 
                Checked="False" Enabled="False"/>&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RadioButton ID="rb_waiverRiderNo" runat="server" Text="No" 
                GroupName="waiverRider" Checked="True" Enabled="False" />
            </td>
        <td>Term / Premium Duration</td>
        <td>: <asp:Label ID="lb_waiverRiderDuration" runat="server" Text=""></asp:Label></td>
        </tr>

        <tr>
        <td>&nbsp;</td>     
        <td>&nbsp;</td>
        <td></td>
        <td></td>
        </tr>

        <tr>
        <td colspan="4" style="font-weight: bold"><br /><br />Total Premium (Annual)</td>
        <td></td>
        <td></td>
        <td></td>
        </tr>

        <tr>
        <td>S$</td>     
        <td>: <asp:Label ID="lb_totalAnnualPremium" runat="server" Text=""></asp:Label></td>
        <td></td>
        <td></td>
        </tr>

        <tr>
        <td colspan="4" style="font-weight: bold"><br /><br />Fund Allocation (Allocation percentage per fund must be at least 10% (in whole number with a total equal to 100%)<br />
            <br />
        <asp:GridView ID="gv_choosenFundAllocation" runat="server"  CssClass="Grid" Width="80%"
                AutoGenerateColumns="False">
        <Columns>
        <asp:BoundField ItemStyle-Width="150px" DataField="code" 
                HeaderText="Fund Code" >
        <ItemStyle Width="150px"></ItemStyle>
        </asp:BoundField>
        <asp:BoundField ItemStyle-Width="150px" DataField="name" HeaderText="Fund Name" >
        <ItemStyle Width="150px"></ItemStyle>
        </asp:BoundField>
        <asp:BoundField ItemStyle-Width="150px" DataField="allocation" 
                HeaderText="Fund Allocation" DataFormatString="{0:P}" >
        <ItemStyle Width="150px"></ItemStyle>
        </asp:BoundField>
        </Columns>
            </asp:GridView>
            </td>
        </tr>

        </table>
        <br />
        <br /><br />
        Last Modified By: 
        <asp:Label ID="lb_lastModifiedBy_planDetails" runat="server" Text="Govin Ho"></asp:Label>
        </fieldset>
        <br /><br />

        <fieldset>
        <legend style="font-size: 28px; font-weight: bold">Payment Details</legend>
        <br />
        <table class="tbl_paymentDetails" width="100%"> 
        <colgroup>
            <col style="width: 20%;">
            <col style="width: 30%;">
            <col style="width: 20%;">
            <col style="width: 30%;">
        </colgroup>
        <tr>
        <td>Mode</td>     
        <td>: <asp:RadioButton ID="rb_monthly" runat="server" Text="Monthly" 
                GroupName="premiumMode" Checked="True" Enabled="False"/>&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RadioButton ID="rb_semiAnnually" runat="server" Text="Semi-Annually" 
                GroupName="premiumMode" Checked="False" Enabled="False"/>&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RadioButton ID="rb_annually" runat="server" Text="Annually" 
                GroupName="premiumMode" Checked="False" Enabled="False" /></td>
        <td>Method</td>
        <td>: <asp:RadioButton ID="rb_auto" runat="server" Text="Auto" 
                GroupName="premiumMethod" Checked="True" Enabled="False" />&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RadioButton ID="rb_direct" runat="server" Text="Direct (Non-GIRO)" 
                GroupName="premiumMethod" Checked="False" Enabled="False" /></td>
        </tr>
        <tr><td>Payment Account</td>
        <td style="width: 20%">: 
            <asp:Label ID="lb_accountNumber" runat="server" Text=""></asp:Label>
        &nbsp;&nbsp;
            &nbsp;&nbsp;
            </td>
        <td>
            &nbsp;</td>
        <td>&nbsp;</td>
        </tr>
        <tr><td>Account Type</td><td>: <asp:Label ID="lb_accountType" runat="server" Text=""></asp:Label>
            </td></tr>
        <tr><td>Currency</td><td>:
            <asp:Label ID="lb_currency" runat="server" Text=""></asp:Label>
            </td></tr>
        </table>
        <br />
        <br /><br />
        Last Modified By: 
        <asp:Label ID="lb_lastModifiedBy_paymentDetails" runat="server" Text="Govin Ho"></asp:Label>
        </fieldset>
        <br /><br />
        
    
    <%
    }
     %>
</asp:Content>

